<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="版本管理">
        <DeviceSpraycameraSoftware :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="配置模版列表">
        <DeviceSpraycameraSoftwareSprayruleTemplate :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="分配结果">
        <DeviceSpraycameraSoftwareCommandTemplateDistribute :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>

import DeviceSpraycameraSoftware from './spraycamera-software.vue'
import DeviceSpraycameraSoftwareSprayruleTemplate from './spraycamera-software-sprayrule-template.vue'
import DeviceSpraycameraSoftwareCommandTemplateDistribute from './spraycamera-software-command-template-distribute.vue'
export default {
  name: 'DeviceSpraycameraSoftwareManager',
  components: {
    DeviceSpraycameraSoftware,
    DeviceSpraycameraSoftwareSprayruleTemplate,
    DeviceSpraycameraSoftwareCommandTemplateDistribute
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
